package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Crawlerevent;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface CrawlereventService {

	public Crawlerevent saveCrawlerevent(Crawlerevent crawlerevent);

	public Set<Crawlerevent> loadCrawlerevents();

	public Set<Crawlerevent> loadReferenceCrawlerevents(Set<Crawlerevent> crawlerevents);

	public Set<Crawlerevent> loadCrawlereventsByIdSet(Set<Integer> crawlereventsId);

	public Map<String, ?> loadCrawlereventObjectReferencedSet(Crawlerevent crawlerevent);

	public Map<String, ?> loadCrawlereventClassReferencedSet(Crawlerevent crawlerevent);

	public void deleteCrawlerevent(Crawlerevent crawlerevent);

	public void deleteCrawlerevents(Set<Integer> deleteCrawlereventsId);

	public List<Crawlerevent> findAllCrawlerevents(Integer startResult, Integer maxRows);

	public Crawlerevent findCrawlereventByPrimaryKey(Integer id);

	public Integer countCrawlerevents();

	public Integer countCrawlerevents(CmiPagination page);

	public Integer countCrawlereventsByName(String queryName);

	public Integer countCrawlereventsByDetachedCriteria(CmiPagination page);

}
